//
//  LZFHttpSessionManager.m
//  LZFBuDieJie
//
//  Created by 梁梓烽 on 16/7/6.
//  Copyright © 2016年 liangzifeng. All rights reserved.
//

#import "LZFHttpSessionManager.h"

@implementation LZFHttpSessionManager

-(instancetype)initWithBaseURL:(NSURL *)url sessionConfiguration:(NSURLSessionConfiguration *)configuration
{
    if (self=[super initWithBaseURL:url sessionConfiguration:configuration]) {
        [self.requestSerializer setValue:@"123" forHTTPHeaderField:@"Cookie"];
        [self.requestSerializer setValue:@"iPhone" forHTTPHeaderField:@"Phone"];
        [self.requestSerializer setValue:@"9.2" forHTTPHeaderField:@"OS_VERSION"];
    }
    return self;
}
@end
